{include file="public/header" title="添加设备"/}
<header class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">添加设备</h1>
    <!--<a href="" class="mui-btn-link mui-pull-right">明细</a>-->
</header>
<style>
    body, .mui-content {
        background: #EFEFEF;
    }
</style>
<div class="mui-content layui-clear" id="my_equipment_add">
    <div class="head">
        <form class="layui-form" action="">
            <input type="text" name="number" class="layui-input" lay-verify="required" lay-verType="tips" placeholder="请输入您的设备号">
            <button class="layui-btn" lay-submit lay-filter="search">搜索</button>
        </form>
    </div>
</div>
<script>
    (function ($) {
        $.init({
            swipeBack: true //启用右滑关闭功能
        });
    })(mui);
    var $ = layui.$, form = layui.form;
    form.on('submit(search)', function (response) {
        var data = response.field;

        console.log(data);

        return false;
    })

</script>
{include file="public/footer"/}